using System;

namespace Qplus.protocol
{

    /**
     * 发送消息应答
     *
     */
    public class U2C_RESP_ROOM_SENDMSG : InPacket
    {
        //	kal_uint32 roomID; 房间号码
        //	kal_uint8 result; (0成功，1失败，2被禁言)


        private long roomID;

        private int result;


        protected override void parseBody(byte[] data, int offset, int count)
        {
            roomID = get4(data);
            result = get1(data);
        }

        public int getResult()
        {
            return result;
        }

        public void setResult(int result)
        {
            this.result = result;
        }

        public long getRoomID()
        {
            return roomID;
        }

        public void setRoomID(long roomID)
        {
            this.roomID = roomID;
        }

    }
}
